package com.jerry.lastgomall.seckill.feign;

import com.jerry.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("lastgomall-product")
public interface ProductFeignService {

    @GetMapping("product/pmsproduct/info/{productId}")
    public R info(@PathVariable("productId") Long productId);

}
